<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>编辑图书</title>
	<%--静态包含很多页面都需要的公共部分：base标签，css样式，jquery--%>
	<%@include file="/pages/common/head.jsp"%>
<style type="text/css">
	h1 {
		text-align: center;
		margin-top: 200px;
	}
	
	h1 a {
		color:red;
	}
	
	input {
		text-align: center;
	}
</style>
</head>
<body>
		<div id="header">
			<img class="logo_img" alt="" src="static/img/logo3.jpg" >
			<span class="wel_word">订单详情</span>

			<%--静态包含，登录成功后的菜单，这样只需维护一份--%>
			<%@include file="/pages/common/login_success_menu.jsp"%>

		</div>
		
		<div id="main">
			<%--<form action="manager/bookServlet" method="post">--%>

				<table>
					<tr>
						<td>订单号</td>
						<td>商品名称</td>
						<td>数量</td>
						<td>价格</td>
						<td>总价</td>
					</tr>
					<c:forEach items="${requestScope.orderItems}" var="orderItem">
						<tr>
							<td><input name="orderId" type="text" value="${orderItem.orderId}"/></td>
							<td><input name="name" type="text" value="${orderItem.name}"/></td>
							<td><input name="count" type="text" value="${orderItem.count}"/></td>
							<td><input name="price" type="text" value="${orderItem.price}"/></td>
							<td><input name="totalPrice" type="text" value="${orderItem.totalPrice}"/></td>
						</tr>
					</c:forEach>

				</table>
		<%--	</form>--%>
			
	
		</div>

		<%--静态包含公共页脚--%>
		<%@include file="/pages/common/footer.jsp"%>
</body>
</html>